package com.cn.wanxi.service.impl;

import com.cn.wanxi.dao.CuisineDao;
import com.cn.wanxi.dao.impl.CuisineImpl;
import com.cn.wanxi.model.CuisineModel;
import com.cn.wanxi.service.CuisineService;

import java.util.List;

public class CuisineServiceImpl implements CuisineService {
    private CuisineDao cuisineDao = new CuisineImpl();

    @Override
    public String add(CuisineModel cuisineModel) {
        return null;
    }

    @Override
    public String update(CuisineModel cuisineModel) {
        return null;
    }

    @Override
    public String delete(CuisineModel cuisineModel) {
        return null;
    }

    @Override
    public List<CuisineModel> findAll(CuisineModel cuisineModel) {

        return cuisineDao.findAll(cuisineModel);
    }

    @Override
    public CuisineModel findById(int id) {
        return null;
    }

    @Override
    public String changeEnable(int id) {
        return null;
    }
}
